package com.firewolf.hibernate.component.dto;

import java.util.Date;

/**
 * @Description: Java对象
 	这个对象要求有一个无参构造器
 * @Author: 刘兴
 * @Date : 2016年10月12日
 * @package : com.firewolf.hibernate.hellloworld.dto
 * @Java_Version : 1.7
 * @Version : 2016年10月12日上午11:35:06
 */
public class News {
	
	private Integer id;
	private String title;
	private String author;
	private Date date;
	public News() {
	}
	
	public News(String title, String author, Date date) {
		super();
		this.title = title;
		this.author = author;
		this.date = date;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	
	
	
}
